GBML manual / Constants

ROOM_LAYER_FRONT

The Front tile layer of the room: tiles painted in front of the Main layer. A room without one does nothing for it.

Game Boy: not available

Game Boy Color: not available

Sega Genesis: not built yet

On other consoles this differs: see Side by side and How the consoles differ.

Syntax

ROOM_LAYER_FRONT: constant

Description

Names the room's Front tile layer, the one painted in front of the Main layer (Room Editor, Tile layers). A room that has no Front layer does nothing for it.

Example

room_layer_visible(ROOM_LAYER_FRONT, false);

Hides the room's Front layer.

See also: ROOM_LAYER_MAINROOM_LAYER_BACKroom_layer_scroll_speedroom_layer_visibletile_indextile_set_index